package com.cjw.enums.user;

public enum UserType {
    USER("用户",0),
    ADMIN("管理员",1);

    private String msg;
    private int code;

    UserType(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
